package com.luoc.base.config.mybatis.service;

import com.luoc.base.config.mybatis.entity.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author luoc
 * @since 2019-07-25
 */
public interface ISysUserRoleService extends IService<SysUserRole> {

    /**
     * 用户名字查询角色
     *
     * @param userName
     * @return
     */
    List<SysUserRole> selectRoleIdsByUserId(String userName);
}
